package com.allwees.bs.c.module.user.vo;

import com.allwees.bs.core.modelbase.constant.ErrorMessage;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
//@ApiModel(value = "用户信息实体")
public class UserProfileVO {

    @NotEmpty(message = ErrorMessage.PARAM_NOT_NULL)
//    @ApiModelProperty(value = "用户姓", example = "firstName")
    private String firstName;

    @NotEmpty(message = ErrorMessage.PARAM_NOT_NULL)
//    @ApiModelProperty(value = "用户名", example = "lastName")
    private String lastName;

    @NotNull(message = ErrorMessage.PARAM_NOT_NULL)
//    @ApiModelProperty(value = "生日年", example = "birthdayYear")
    private Integer birthdayYear;

    @NotNull(message = ErrorMessage.PARAM_NOT_NULL)
//    @ApiModelProperty(value = "生日月", example = "birthdayMonth")
    private Integer birthdayMonth;

    @NotNull(message = ErrorMessage.PARAM_NOT_NULL)
//    @ApiModelProperty(value = "生日", example = "birthdayDay")
    private Integer birthdayDay;

    /**
     * 1:男,2:女,3:未知
     */
    @NotNull(message = ErrorMessage.PARAM_NOT_NULL)
//    @ApiModelProperty(value = "性别", example = "gender")
    private Integer gender;
}
